#include <fs/vfs.h>
#include <fs/vfscall.h>
#include <klibc/string.h>
#include <klibc/ctype.h>
#include <klibc/malloc.h>



/*
 * Syscall
 */
int32_t fs_fopen(char *filename, char *attr)
{
	printf("Not yet implemented.\n"); 	
	return (int32_t) 0;	
}


void fs_fclose(int32_t fst)
{
	printf("Not yet implemented.\n"); 		
}


int fs_fwrite(int32_t fst, int32_t len, char *data)
{
	printf("Not yet implemented.\n"); 	
	return 0;
}


int fs_fread(int32_t fst, int32_t len, char *data)
{
	printf("Not yet implemented.\n"); 	
	return 0;	
}


void fs_fstat(int32_t fst, struct stat *st)
{
	printf("Not yet implemented.\n"); 	
	
}

/*
 * Restituisce la struttura dir dell'elemento n nella cartella
 * descritta da fst
 */
int fs_freaddir(int32_t fst, struct diren *dir, int32_t n)
{

	return 0;
}


int fs_remove(char *filename)
{
	printf("Not yet implemented.\n"); 	
	return -1;
}


int fs_link(char *filename1, char *filename2)
{
	printf("Not yet implemented.\n"); 	
	return -1;	
}


int fs_unlink(char *filename)
{
	printf("Not yet implemented.\n"); 	
	return -1;	
}


int fs_mount(char *filename, char *dev, char *filesystem)
{
	printf("Not yet implemented.\n"); 	
	return -1;	
}


int fs_umount(char *filename)
{
	printf("Not yet implemented.\n"); 	
	return -1;	
}


int fs_makedir(char *filename)
{
	printf("Not yet implemented.\n"); 	
	return -1;	
}


void fs_stat(char *filename, struct stat *st)
{
	printf("Not yet implemented.\n"); 	
	
}


int fs_set_stat(char *filename, struct stat *st)
{
	printf("Not yet implemented.\n"); 	
	return -1;	
}


